﻿<%@ Page CodeFileBaseClass="AliCMS.Lib.SystemPageBase" %>
<ali:Tree Object="Channel.Menu" Condition="ChannelID=Request.QueryString['ChannelID']">
	<ali:Record>
		<%If Convert.ToString(ID) == Request.QueryString["ParentID"]%>
			<option  data-item="<%=ParentChain%>.<%=InnerID%>" data-parent="<%=ParentChain%>" value="<%=ID%>" selected><%=Name%></option>
		<%Else%>
			<option  data-item="<%=ParentChain%>.<%=InnerID%>" data-parent="<%=ParentChain%>" value="<%=ID%>"><%=Name%></option>
		<%EndIf%>
		<%=ChildRecords%>
	</ali:Record>
</ali:Tree>